import React, { Component } from 'react'

export default class Detail2 extends Component {

    
  render() {
        if(!this.props.location.state){
            this.props.history.push("/list");

        }
    return (
      <div>
        <div>参数的研究{this.props.location.state?.id}</div>
      </div>
    )
  }
}
